package com.ys.entity.finance;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_WanliPaymentReturn", catalog="Id")
public class TcwWanliPaymentReturn extends BaseEntity<TcwWanliPaymentReturn> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="varchar")
	private String createChangeId;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="DepositPlatformId", nameJava="depositPlatformId", typeDataBase="bigint")
	private Long depositPlatformId;
	@YsField(nameDataBase="WithdrawalMethod", nameJava="withdrawalMethod", typeDataBase="tinyint")
	private Integer withdrawalMethod;
	@YsField(nameDataBase="CurrencyCode", nameJava="currencyCode", typeDataBase="varchar")
	private String currencyCode;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwWanliPaymentReturn setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TcwWanliPaymentReturn setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getCreateChangeId() {
		return createChangeId;
	}
	public TcwWanliPaymentReturn setCreateChangeId(String createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TcwWanliPaymentReturn setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public TcwWanliPaymentReturn setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public Long getDepositPlatformId() {
		return depositPlatformId;
	}
	public TcwWanliPaymentReturn setDepositPlatformId(Long depositPlatformId) {
		this.depositPlatformId = depositPlatformId;
		return this;
	}
	public Integer getWithdrawalMethod() {
		return withdrawalMethod;
	}
	public TcwWanliPaymentReturn setWithdrawalMethod(Integer withdrawalMethod) {
		this.withdrawalMethod = withdrawalMethod;
		return this;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public TcwWanliPaymentReturn setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwWanliPaymentReturn setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwWanliPaymentReturn setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwWanliPaymentReturn setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwWanliPaymentReturn tcwWanliPaymentReturn(
		String bid,
		String createChangeId,
		Integer effectStock,
		String vbz,
		Long depositPlatformId,
		Integer withdrawalMethod,
		String currencyCode,
		Integer status
			) {
		TcwWanliPaymentReturn entity = new TcwWanliPaymentReturn();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setEffectStock(effectStock);
		entity.setVbz(vbz);
		entity.setDepositPlatformId(depositPlatformId);
		entity.setWithdrawalMethod(withdrawalMethod);
		entity.setCurrencyCode(currencyCode);
		entity.setStatus(status);
		return entity;
	}
}